import http from "@/utils/http";
//获取表格数据列表
export const getList = (params) => {
  return http.get("/project/xmflsz/list", params);
};
//新增
export const addRecords = (params) => {
  return http.post(`/project/xmflsz`, params);
};
//编辑
export const editRecords = (params) => {
  return http.put(`/project/xmflsz`, params);
};
//删除
export const delRecords = (id) => {
  return http.del(`/project/xmflsz/${id}`);
};
//获取最大科目前缀
export const getPrefix = (params) => {
  return http.get("/project/xmflsz/getMaxPrefix", params);
};
//点击项目数获取分类下的项目
export const getCategoryProject = (params) => {
  return http.get("/project/xmflsz/getUseProjectList", params);
};
